package com.gxh.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@ApiModel(description = "分页设备信息返回的数据格式")
public class MachineSaleVO implements Serializable {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("设备编号")
    private String machineId;

    @ApiModelProperty("机械设备名称或规格")
    private String name;

    @ApiModelProperty("购买人或公司")
    private String buyerName;

    @ApiModelProperty("设备出厂的年份")
    private Integer year;

    @ApiModelProperty("联系电话")
    private String buyerPhone;

    @ApiModelProperty("售出价格")
    private BigDecimal soldPrice;

    @ApiModelProperty("购买人或公司位置")
    private String buyerLocation;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("第一张设备图片")
    private String firstImage;

}
